package model.things;

import java.util.HashMap;


public class You extends Thing{
	public You(String label, int x, int y) {
		super(label, x, y);
		xPos=x;
		yPos=y;
		this.label=label;
		type="PLAYER";
	}

	HashMap<String,Thing> items;
	
	
	public void storeItem(Thing item){
		items.put(item.getLabel(),item);
	}
	
	public Thing getItem(String name){
		Thing item=items.get(name);
		items.remove(name);
		return item;
	}
	
}
